package org.springblade.common.utils.smsutils;


public abstract class AbsRestClient {

    /**
     * @param sid
     * @param token
     * @param appid
     * @param templateid
     * @param param
     * @param mobile
     * @param uid
     * @return
     */
    public abstract String sendSms(String sid, String token, String appid, String templateid, String param, String mobile, String uid);

    /**
     * @param sid
     * @param token
     * @param appid
     * @param templateid
     * @param param
     * @param mobile
     * @param uid
     * @return
     */
    public abstract String sendSmsBatch(String sid, String token, String appid, String templateid, String param, String mobile, String uid);

    public StringBuffer getStringBuffer() {
        StringBuffer sb = new StringBuffer("https://");
        sb.append("open.ucpaas.com").append("/ol/sms");
        return sb;
    }
}
